< previous page page_848 next page >

Page 848
0848-01.jpg
Figure 21.13.
Viewing the data entry form
with limited access rights.
You now have a data-bound entry form with user login/logout, access checking, and field-level audit trails for any updated records. You can use this library on data bound forms, forms that use Microsoft DAO, or even other VBA-complaint applications that require auditing, user logins, or access rights management.
Summary
In today's lesson, you learned several methods you can use to increase the level of security for your Visual Basic database applications. You learned about the limitations of using the Microsoft Access SYSTEM security file and database encryption.
This lesson also showed you how you can add application-level security to your Visual Basic programs by adding user login/logout routines and creating a user access rights scheme for your applications. In this lesson, you designed and implemented a login screen that you can use for all your Visual Basic applications, and you created several screens for maintaining user lists and managing access rights for each user.
You also learned how to add an audit trail option to your programs. You added routines to a new OLE Server DLL library that logs all critical user activity to an audit trail file, including user logins, database modifications, and all critical program operations, such as running reports or processing mass database updates.
Best of all, the routines you built here can be used in all your future Visual Basic applications.
Quiz
1. What are the disadvantages and limitations of using the Microsoft Access SYSTEM.MDA file to secure a database?
2. What are the disadvantages of using data encryption to secure a database?
3. What is the difference between application security and database security?
4. What are the two main features of a good application security scheme?
5. Can application security schemes prevent unauthorized access to data by tools such as Visdata and Data Manager?

 
< previous page page_848 next page >

If you like this book, buy it!